name = 'lihua'
print(name == 'lihua')

food1 = 'cake'
print(food1.lower() == 'Cake')

number = '9'
print(number == '9')
print(number != '9')
print(number > '88')
print(number < '10')
print(number >= '9')
print(number <= '99')

print(number < '99' and number > '6')
print(number < '2' and number > '16')
print(number < '9' or number < '8')
print(number > '5' or number > '99')

digits = ['1','2','3','4','5','6','7','8','9']    #检查特定值在不在列表中
digit1 = '9'
digit2 = '99'
if digit1 in digits:
    print(digit1)
if digit2 not in digits:
    print(digit2)

